package org.zhadoop.stream.cql.semanticanalyzer.parser.visitor;

import org.zhadoop.stream.cql.semanticanalyzer.parser.CQLParser.ConstIntegerValueContext;
import org.zhadoop.stream.cql.semanticanalyzer.parser.context.ParallelClauseContext;

public class ParallelClauseVisitor extends AbsCQLParserBaseVisitor<ParallelClauseContext>{

	private ParallelClauseContext context = null;
	
	public ParallelClauseVisitor() {
		context = new ParallelClauseContext();
	}
	
	@Override
	protected ParallelClauseContext defaultResult() {
		return context;
	}
	
	@Override
	public ParallelClauseContext visitConstIntegerValue(ConstIntegerValueContext ctx) {
		context.setNumber(ctx.getText());
		return context;
	}

}
